package com.ruoyi.purchase.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 箱码列表对象 box_codes
 * 
 * @author ruoyi
 * @date 2025-10-18
 */
public class BoxCodes extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 箱码 */
    @Excel(name = "箱码")
    private String boxId;

    /** 标箱数量 */
    @Excel(name = "标箱数量")
    private Long boxNum;

    /** 存货编码 */
    @Excel(name = "存货编码")
    private String itemId;

    /** 采购订单号 */
    @Excel(name = "采购订单号")
    private String poId;

    /** 批次号 */
    @Excel(name = "批次号")
    private String batch;

    /** 库位编号 */
    @Excel(name = "库位编号")
    private String binId;



    /** 生产日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生产日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date productionDate;

    /** 生产时间 */
    @Excel(name = "检验状态")
    private Long inspectionStatus;

    public Date getProductionDate() {
        return productionDate;
    }

    public void setProductionDate(Date productionDate) {
        this.productionDate = productionDate;
    }

    /** 生产时间 */
    @Excel(name = "入库状态")
    private Long warehousingStatus;

    /** 生成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    @Override
    public String toString() {
        return "BoxCodes{" +
                "id=" + id +
                ", boxId='" + boxId + '\'' +
                ", boxNum=" + boxNum +
                ", itemId='" + itemId + '\'' +
                ", poId='" + poId + '\'' +
                ", batch='" + batch + '\'' +
                ", binId='" + binId + '\'' +
                ", deliveryStatus=" + deliveryStatus +
                ", productionDate=" + productionDate +
                ", inspectionStatus=" + inspectionStatus +
                ", warehousingStatus=" + warehousingStatus +
                ", receivingStatus=" + receivingStatus +
                ", createdAt=" + createdAt +
                ", createdPerson='" + createdPerson + '\'' +
                ", updatedAt=" + updatedAt +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getBoxId() {
        return boxId;
    }

    public void setBoxId(String boxId) {
        this.boxId = boxId;
    }

    public Long getBoxNum() {
        return boxNum;
    }

    public void setBoxNum(Long boxNum) {
        this.boxNum = boxNum;
    }

    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId;
    }

    public String getPoId() {
        return poId;
    }

    public void setPoId(String poId) {
        this.poId = poId;
    }

    public String getBatch() {
        return batch;
    }

    public void setBatch(String batch) {
        this.batch = batch;
    }

    public String getBinId() {
        return binId;
    }

    public void setBinId(String binId) {
        this.binId = binId;
    }

    public Long getInspectionStatus() {
        return inspectionStatus;
    }

    public void setInspectionStatus(Long inspectionStatus) {
        this.inspectionStatus = inspectionStatus;
    }

    public Long getWarehousingStatus() {
        return warehousingStatus;
    }

    public void setWarehousingStatus(Long warehousingStatus) {
        this.warehousingStatus = warehousingStatus;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public String getCreatedPerson() {
        return createdPerson;
    }

    public void setCreatedPerson(String createdPerson) {
        this.createdPerson = createdPerson;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    /** 存货编码 */
    @Excel(name = "创建人")
    private String createdPerson;

    /** 生成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    /** 到货状态 */
    private Long deliveryStatus;

    private Long receivingStatus;

    public Long getReceiving_status() {
        return receivingStatus;
    }

    public void setReceivingStatus(Long receivingStatus) {
        this.receivingStatus = receivingStatus;
    }

    public Long getDeliveryStatus() {
        return deliveryStatus;
    }

    public void setDeliveryStatus(Long deliveryStatus) {
        this.deliveryStatus = deliveryStatus;
    }
}
